/**
 * 微信 scrapy model
 */
var WECHAT = require('../../mongoose/mongoose').WECHAT;
var ObjectId = require('mongoose').Types.ObjectId;
var wechatSchema = require('../../schemas/wechat/scrapySchema').wechatSchema;

//invoke model
var WechatModel = WECHAT.model('weixin', wechatSchema),
    w = new WechatModel;
w.save(function(){
    console.log('wechat连接成功');
});

exports.Wechat = WechatModel;